package com.teach.dao;

import com.teach.entity.AdminInfo;
import com.teach.util.DBUtil;

import java.sql.SQLException;

public interface AdminInfoDAO extends DBUtil.BaseDAO<AdminInfo> {

  /**
   * - 根据用户获取用户对象
   * @param name
   * @return
   */
  AdminInfo selectByName(String name) throws SQLException;
}
